<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript">
        $(function(){
            $("#n").click(function(){
                $.get("demo2.php",{"a":1,"b":2},function(data,text,xjq){
//                        console.log("hell");
                    console.log(data);
//                    console.log(text);
//                    console.log(xjq);
                },"script");
            });

        });
    </script>
</head>
<body>
<button id="n">点击</button>
</body>
</html>